<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-pragma">{-# LANGUAGE RecordWildCards, DeriveGeneric, GeneralizedNewtypeDeriving,
    BangPatterns, CPP #-}</span><span>
</span><span id="line-3"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">GHCi.ResolvedBCO</span><span>
</span><span id="line-4"></span><span>  </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCO"><span class="hs-identifier">ResolvedBCO</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
</span><span id="line-5"></span><span>  </span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCOPtr"><span class="hs-identifier">ResolvedBCOPtr</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
</span><span id="line-6"></span><span>  </span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHCi.ResolvedBCO.html#isLittleEndian"><span class="hs-identifier">isLittleEndian</span></a></span><span>
</span><span id="line-7"></span><span>  </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-8"></span><span>
</span><span id="line-9"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Prelude.html#"><span class="hs-identifier">Prelude</span></a></span><span> </span><span class="hs-comment">-- See note [Why do we import Prelude here?]</span><span>
</span><span id="line-10"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="SizedSeq.html"><span class="hs-identifier">SizedSeq</span></a></span><span>
</span><span id="line-11"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHCi.RemoteTypes.html"><span class="hs-identifier">GHCi.RemoteTypes</span></a></span><span>
</span><span id="line-12"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHCi.BreakArray.html"><span class="hs-identifier">GHCi.BreakArray</span></a></span><span>
</span><span id="line-13"></span><span>
</span><span id="line-14"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../array/src/Data.Array.Unboxed.html#"><span class="hs-identifier">Data.Array.Unboxed</span></a></span><span>
</span><span id="line-15"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../binary/src/Data.Binary.html#"><span class="hs-identifier">Data.Binary</span></a></span><span>
</span><span id="line-16"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/GHC.Generics.html#"><span class="hs-identifier">GHC.Generics</span></a></span><span>
</span><span id="line-17"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHCi.BinaryArray.html"><span class="hs-identifier">GHCi.BinaryArray</span></a></span><span class="hs-cpp">


#include &quot;MachDeps.h&quot;
</span><span>
</span><span id="line-22"></span><span class="annot"><a href="GHCi.ResolvedBCO.html#isLittleEndian"><span class="hs-identifier hs-type">isLittleEndian</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span class="hs-cpp">
#if defined(WORDS_BIGENDIAN)
</span><span class="hs-identifier">isLittleEndian</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">False</span><span class="hs-cpp">
#else
</span><span id="isLittleEndian"><span class="annot"><span class="annottext">isLittleEndian :: Bool
</span><a href="GHCi.ResolvedBCO.html#isLittleEndian"><span class="hs-identifier hs-var hs-var">isLittleEndian</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span class="hs-cpp">
#endif
</span><span>
</span><span id="line-29"></span><span class="hs-comment">-- -----------------------------------------------------------------------------</span><span>
</span><span id="line-30"></span><span class="hs-comment">-- ResolvedBCO</span><span>
</span><span id="line-31"></span><span>
</span><span id="line-32"></span><span class="hs-comment">-- | A 'ResolvedBCO' is one in which all the 'Name' references have been</span><span>
</span><span id="line-33"></span><span class="hs-comment">-- resolved to actual addresses or 'RemoteHValues'.</span><span>
</span><span id="line-34"></span><span class="hs-comment">--</span><span>
</span><span id="line-35"></span><span class="hs-comment">-- Note, all arrays are zero-indexed (we assume this when</span><span>
</span><span id="line-36"></span><span class="hs-comment">-- serializing/deserializing)</span><span>
</span><span id="line-37"></span><span id="local-6989586621679096374"><span id="local-6989586621679096375"></span></span><span class="hs-keyword">data</span><span> </span><span id="ResolvedBCO"><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCO"><span class="hs-identifier hs-var">ResolvedBCO</span></a></span></span><span>
</span><span id="line-38"></span><span>   </span><span class="hs-glyph">=</span><span> </span><span id="ResolvedBCO"><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCO"><span class="hs-identifier hs-var">ResolvedBCO</span></a></span></span><span> </span><span class="hs-special">{</span><span>
</span><span id="line-39"></span><span>        </span><span id="resolvedBCOIsLE"><span class="annot"><span class="annottext">ResolvedBCO -&gt; Bool
</span><a href="GHCi.ResolvedBCO.html#resolvedBCOIsLE"><span class="hs-identifier hs-var hs-var">resolvedBCOIsLE</span></a></span></span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span class="hs-special">,</span><span>
</span><span id="line-40"></span><span>        </span><span id="resolvedBCOArity"><span class="annot"><span class="annottext">ResolvedBCO -&gt; Int
</span><a href="GHCi.ResolvedBCO.html#resolvedBCOArity"><span class="hs-identifier hs-var hs-var">resolvedBCOArity</span></a></span></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-pragma">{-# UNPACK</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span class="hs-glyph">!</span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span class="hs-special">,</span><span>
</span><span id="line-41"></span><span>        </span><span id="resolvedBCOInstrs"><span class="annot"><span class="annottext">ResolvedBCO -&gt; UArray Int Word16
</span><a href="GHCi.ResolvedBCO.html#resolvedBCOInstrs"><span class="hs-identifier hs-var hs-var">resolvedBCOInstrs</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../array/src/Data.Array.Base.html#UArray"><span class="hs-identifier hs-type">UArray</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span> </span><span class="annot"><a href="../../base/src/GHC.Word.html#Word16"><span class="hs-identifier hs-type">Word16</span></a></span><span class="hs-special">,</span><span>         </span><span class="hs-comment">-- insns</span><span>
</span><span id="line-42"></span><span>        </span><span id="resolvedBCOBitmap"><span class="annot"><span class="annottext">ResolvedBCO -&gt; UArray Int Word64
</span><a href="GHCi.ResolvedBCO.html#resolvedBCOBitmap"><span class="hs-identifier hs-var hs-var">resolvedBCOBitmap</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../array/src/Data.Array.Base.html#UArray"><span class="hs-identifier hs-type">UArray</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span> </span><span class="annot"><a href="../../base/src/GHC.Word.html#Word64"><span class="hs-identifier hs-type">Word64</span></a></span><span class="hs-special">,</span><span>         </span><span class="hs-comment">-- bitmap</span><span>
</span><span id="line-43"></span><span>        </span><span id="resolvedBCOLits"><span class="annot"><span class="annottext">ResolvedBCO -&gt; UArray Int Word64
</span><a href="GHCi.ResolvedBCO.html#resolvedBCOLits"><span class="hs-identifier hs-var hs-var">resolvedBCOLits</span></a></span></span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../array/src/Data.Array.Base.html#UArray"><span class="hs-identifier hs-type">UArray</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span> </span><span class="annot"><a href="../../base/src/GHC.Word.html#Word64"><span class="hs-identifier hs-type">Word64</span></a></span><span class="hs-special">,</span><span>         </span><span class="hs-comment">-- non-ptrs</span><span>
</span><span id="line-44"></span><span>        </span><span id="resolvedBCOPtrs"><span class="annot"><span class="annottext">ResolvedBCO -&gt; SizedSeq ResolvedBCOPtr
</span><a href="GHCi.ResolvedBCO.html#resolvedBCOPtrs"><span class="hs-identifier hs-var hs-var">resolvedBCOPtrs</span></a></span></span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="SizedSeq.html#SizedSeq"><span class="hs-identifier hs-type">SizedSeq</span></a></span><span> </span><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCOPtr"><span class="hs-identifier hs-type">ResolvedBCOPtr</span></a></span><span class="hs-special">)</span><span>  </span><span class="hs-comment">-- ptrs</span><span>
</span><span id="line-45"></span><span>   </span><span class="hs-special">}</span><span>
</span><span id="line-46"></span><span>   </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">(forall x. ResolvedBCO -&gt; Rep ResolvedBCO x)
-&gt; (forall x. Rep ResolvedBCO x -&gt; ResolvedBCO)
-&gt; Generic ResolvedBCO
forall x. Rep ResolvedBCO x -&gt; ResolvedBCO
forall x. ResolvedBCO -&gt; Rep ResolvedBCO x
forall a.
(forall x. a -&gt; Rep a x) -&gt; (forall x. Rep a x -&gt; a) -&gt; Generic a
$cto :: forall x. Rep ResolvedBCO x -&gt; ResolvedBCO
$cfrom :: forall x. ResolvedBCO -&gt; Rep ResolvedBCO x
</span><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier hs-var hs-var hs-var hs-var">Generic</span></a></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679096339"><span id="local-6989586621679096341"><span id="local-6989586621679096361"><span class="annot"><span class="annottext">Int -&gt; ResolvedBCO -&gt; ShowS
[ResolvedBCO] -&gt; ShowS
ResolvedBCO -&gt; String
(Int -&gt; ResolvedBCO -&gt; ShowS)
-&gt; (ResolvedBCO -&gt; String)
-&gt; ([ResolvedBCO] -&gt; ShowS)
-&gt; Show ResolvedBCO
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [ResolvedBCO] -&gt; ShowS
$cshowList :: [ResolvedBCO] -&gt; ShowS
show :: ResolvedBCO -&gt; String
$cshow :: ResolvedBCO -&gt; String
showsPrec :: Int -&gt; ResolvedBCO -&gt; ShowS
$cshowsPrec :: Int -&gt; ResolvedBCO -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">)</span><span>
</span><span id="line-47"></span><span>
</span><span id="line-48"></span><span class="hs-comment">-- | The Binary instance for ResolvedBCOs.</span><span>
</span><span id="line-49"></span><span class="hs-comment">--</span><span>
</span><span id="line-50"></span><span class="hs-comment">-- Note, that we do encode the endianness, however there is no support for mixed</span><span>
</span><span id="line-51"></span><span class="hs-comment">-- endianness setups.  This is primarily to ensure that ghc and iserv share the</span><span>
</span><span id="line-52"></span><span class="hs-comment">-- same endianness.</span><span>
</span><span id="line-53"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679096329"><span class="annot"><a href="../../binary/src/Data.Binary.Class.html#Binary"><span class="hs-identifier hs-type">Binary</span></a></span><span> </span><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCO"><span class="hs-identifier hs-type">ResolvedBCO</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-54"></span><span>  </span><span id="local-6989586621679096312"><span class="annot"><span class="annottext">put :: ResolvedBCO -&gt; Put
</span><a href="../../binary/src/Data.Binary.Class.html#put"><span class="hs-identifier hs-var hs-var hs-var hs-var">put</span></a></span></span><span> </span><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCO"><span class="hs-identifier hs-type">ResolvedBCO</span></a></span><span class="hs-special">{</span><span id="local-6989586621679096305"><span id="local-6989586621679096306"><span id="local-6989586621679096307"><span id="local-6989586621679096308"><span id="local-6989586621679096309"><span id="local-6989586621679096310"><span class="annot"><span class="annottext">Bool
Int
UArray Int Word16
UArray Int Word64
SizedSeq ResolvedBCOPtr
resolvedBCOPtrs :: SizedSeq ResolvedBCOPtr
resolvedBCOLits :: UArray Int Word64
resolvedBCOBitmap :: UArray Int Word64
resolvedBCOInstrs :: UArray Int Word16
resolvedBCOArity :: Int
resolvedBCOIsLE :: Bool
resolvedBCOPtrs :: ResolvedBCO -&gt; SizedSeq ResolvedBCOPtr
resolvedBCOLits :: ResolvedBCO -&gt; UArray Int Word64
resolvedBCOBitmap :: ResolvedBCO -&gt; UArray Int Word64
resolvedBCOInstrs :: ResolvedBCO -&gt; UArray Int Word16
resolvedBCOArity :: ResolvedBCO -&gt; Int
resolvedBCOIsLE :: ResolvedBCO -&gt; Bool
</span><a href="#local-6989586621679096305"><span class="hs-glyph hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">..</span></a></span></span></span></span></span></span></span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">do</span><span>
</span><span id="line-55"></span><span>    </span><span class="annot"><span class="annottext">Bool -&gt; Put
forall t. Binary t =&gt; t -&gt; Put
</span><a href="../../binary/src/Data.Binary.Class.html#put"><span class="hs-identifier hs-var">put</span></a></span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="#local-6989586621679096310"><span class="hs-identifier hs-var">resolvedBCOIsLE</span></a></span><span>
</span><span id="line-56"></span><span>    </span><span class="annot"><span class="annottext">Int -&gt; Put
forall t. Binary t =&gt; t -&gt; Put
</span><a href="../../binary/src/Data.Binary.Class.html#put"><span class="hs-identifier hs-var">put</span></a></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679096309"><span class="hs-identifier hs-var">resolvedBCOArity</span></a></span><span>
</span><span id="line-57"></span><span>    </span><span class="annot"><span class="annottext">UArray Int Word16 -&gt; Put
forall i a. Binary i =&gt; UArray i a -&gt; Put
</span><a href="GHCi.BinaryArray.html#putArray"><span class="hs-identifier hs-var">putArray</span></a></span><span> </span><span class="annot"><span class="annottext">UArray Int Word16
</span><a href="#local-6989586621679096308"><span class="hs-identifier hs-var">resolvedBCOInstrs</span></a></span><span>
</span><span id="line-58"></span><span>    </span><span class="annot"><span class="annottext">UArray Int Word64 -&gt; Put
forall i a. Binary i =&gt; UArray i a -&gt; Put
</span><a href="GHCi.BinaryArray.html#putArray"><span class="hs-identifier hs-var">putArray</span></a></span><span> </span><span class="annot"><span class="annottext">UArray Int Word64
</span><a href="#local-6989586621679096307"><span class="hs-identifier hs-var">resolvedBCOBitmap</span></a></span><span>
</span><span id="line-59"></span><span>    </span><span class="annot"><span class="annottext">UArray Int Word64 -&gt; Put
forall i a. Binary i =&gt; UArray i a -&gt; Put
</span><a href="GHCi.BinaryArray.html#putArray"><span class="hs-identifier hs-var">putArray</span></a></span><span> </span><span class="annot"><span class="annottext">UArray Int Word64
</span><a href="#local-6989586621679096306"><span class="hs-identifier hs-var">resolvedBCOLits</span></a></span><span>
</span><span id="line-60"></span><span>    </span><span class="annot"><span class="annottext">SizedSeq ResolvedBCOPtr -&gt; Put
forall t. Binary t =&gt; t -&gt; Put
</span><a href="../../binary/src/Data.Binary.Class.html#put"><span class="hs-identifier hs-var">put</span></a></span><span> </span><span class="annot"><span class="annottext">SizedSeq ResolvedBCOPtr
</span><a href="#local-6989586621679096305"><span class="hs-identifier hs-var">resolvedBCOPtrs</span></a></span><span>
</span><span id="line-61"></span><span>  </span><span id="local-6989586621679096280"><span class="annot"><span class="annottext">get :: Get ResolvedBCO
</span><a href="../../binary/src/Data.Binary.Class.html#get"><span class="hs-identifier hs-var hs-var hs-var hs-var">get</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
-&gt; Int
-&gt; UArray Int Word16
-&gt; UArray Int Word64
-&gt; UArray Int Word64
-&gt; SizedSeq ResolvedBCOPtr
-&gt; ResolvedBCO
</span><a href="GHCi.ResolvedBCO.html#ResolvedBCO"><span class="hs-identifier hs-var">ResolvedBCO</span></a></span><span>
</span><span id="line-62"></span><span>        </span><span class="annot"><span class="annottext">(Bool
 -&gt; Int
 -&gt; UArray Int Word16
 -&gt; UArray Int Word64
 -&gt; UArray Int Word64
 -&gt; SizedSeq ResolvedBCOPtr
 -&gt; ResolvedBCO)
-&gt; Get Bool
-&gt; Get
     (Int
      -&gt; UArray Int Word16
      -&gt; UArray Int Word64
      -&gt; UArray Int Word64
      -&gt; SizedSeq ResolvedBCOPtr
      -&gt; ResolvedBCO)
forall (f :: * -&gt; *) a b. Functor f =&gt; (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../../base/src/Data.Functor.html#%3C%24%3E"><span class="hs-operator hs-var">&lt;$&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Get Bool
forall t. Binary t =&gt; Get t
</span><a href="../../binary/src/Data.Binary.Class.html#get"><span class="hs-identifier hs-var">get</span></a></span><span> </span><span class="annot"><span class="annottext">Get
  (Int
   -&gt; UArray Int Word16
   -&gt; UArray Int Word64
   -&gt; UArray Int Word64
   -&gt; SizedSeq ResolvedBCOPtr
   -&gt; ResolvedBCO)
-&gt; Get Int
-&gt; Get
     (UArray Int Word16
      -&gt; UArray Int Word64
      -&gt; UArray Int Word64
      -&gt; SizedSeq ResolvedBCOPtr
      -&gt; ResolvedBCO)
forall (f :: * -&gt; *) a b. Applicative f =&gt; f (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../../base/src/GHC.Base.html#%3C%2A%3E"><span class="hs-operator hs-var">&lt;*&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Get Int
forall t. Binary t =&gt; Get t
</span><a href="../../binary/src/Data.Binary.Class.html#get"><span class="hs-identifier hs-var">get</span></a></span><span> </span><span class="annot"><span class="annottext">Get
  (UArray Int Word16
   -&gt; UArray Int Word64
   -&gt; UArray Int Word64
   -&gt; SizedSeq ResolvedBCOPtr
   -&gt; ResolvedBCO)
-&gt; Get (UArray Int Word16)
-&gt; Get
     (UArray Int Word64
      -&gt; UArray Int Word64 -&gt; SizedSeq ResolvedBCOPtr -&gt; ResolvedBCO)
forall (f :: * -&gt; *) a b. Applicative f =&gt; f (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../../base/src/GHC.Base.html#%3C%2A%3E"><span class="hs-operator hs-var">&lt;*&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Get (UArray Int Word16)
forall i a.
(Binary i, Ix i, MArray IOUArray a IO) =&gt;
Get (UArray i a)
</span><a href="GHCi.BinaryArray.html#getArray"><span class="hs-identifier hs-var">getArray</span></a></span><span> </span><span class="annot"><span class="annottext">Get
  (UArray Int Word64
   -&gt; UArray Int Word64 -&gt; SizedSeq ResolvedBCOPtr -&gt; ResolvedBCO)
-&gt; Get (UArray Int Word64)
-&gt; Get
     (UArray Int Word64 -&gt; SizedSeq ResolvedBCOPtr -&gt; ResolvedBCO)
forall (f :: * -&gt; *) a b. Applicative f =&gt; f (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../../base/src/GHC.Base.html#%3C%2A%3E"><span class="hs-operator hs-var">&lt;*&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Get (UArray Int Word64)
forall i a.
(Binary i, Ix i, MArray IOUArray a IO) =&gt;
Get (UArray i a)
</span><a href="GHCi.BinaryArray.html#getArray"><span class="hs-identifier hs-var">getArray</span></a></span><span> </span><span class="annot"><span class="annottext">Get (UArray Int Word64 -&gt; SizedSeq ResolvedBCOPtr -&gt; ResolvedBCO)
-&gt; Get (UArray Int Word64)
-&gt; Get (SizedSeq ResolvedBCOPtr -&gt; ResolvedBCO)
forall (f :: * -&gt; *) a b. Applicative f =&gt; f (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../../base/src/GHC.Base.html#%3C%2A%3E"><span class="hs-operator hs-var">&lt;*&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Get (UArray Int Word64)
forall i a.
(Binary i, Ix i, MArray IOUArray a IO) =&gt;
Get (UArray i a)
</span><a href="GHCi.BinaryArray.html#getArray"><span class="hs-identifier hs-var">getArray</span></a></span><span> </span><span class="annot"><span class="annottext">Get (SizedSeq ResolvedBCOPtr -&gt; ResolvedBCO)
-&gt; Get (SizedSeq ResolvedBCOPtr) -&gt; Get ResolvedBCO
forall (f :: * -&gt; *) a b. Applicative f =&gt; f (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../../base/src/GHC.Base.html#%3C%2A%3E"><span class="hs-operator hs-var">&lt;*&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">Get (SizedSeq ResolvedBCOPtr)
forall t. Binary t =&gt; Get t
</span><a href="../../binary/src/Data.Binary.Class.html#get"><span class="hs-identifier hs-var">get</span></a></span><span>
</span><span id="line-63"></span><span>
</span><span id="line-64"></span><span id="local-6989586621679096275"><span id="local-6989586621679096276"></span></span><span class="hs-keyword">data</span><span> </span><span id="ResolvedBCOPtr"><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCOPtr"><span class="hs-identifier hs-var">ResolvedBCOPtr</span></a></span></span><span>
</span><span id="line-65"></span><span>  </span><span class="hs-glyph">=</span><span> </span><span id="ResolvedBCORef"><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCORef"><span class="hs-identifier hs-var">ResolvedBCORef</span></a></span></span><span> </span><span class="hs-pragma">{-# UNPACK</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span class="hs-glyph">!</span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span>
</span><span id="line-66"></span><span>      </span><span class="hs-comment">-- ^ reference to the Nth BCO in the current set</span><span>
</span><span id="line-67"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="ResolvedBCOPtr"><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCOPtr"><span class="hs-identifier hs-var">ResolvedBCOPtr</span></a></span></span><span> </span><span class="hs-pragma">{-# UNPACK</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="annot"><a href="GHCi.RemoteTypes.html#RemoteRef"><span class="hs-identifier hs-type">RemoteRef</span></a></span><span> </span><span class="annot"><a href="GHCi.RemoteTypes.html#HValue"><span class="hs-identifier hs-type">HValue</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-68"></span><span>      </span><span class="hs-comment">-- ^ reference to a previously created BCO</span><span>
</span><span id="line-69"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="ResolvedBCOStaticPtr"><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCOStaticPtr"><span class="hs-identifier hs-var">ResolvedBCOStaticPtr</span></a></span></span><span> </span><span class="hs-pragma">{-# UNPACK</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="annot"><a href="GHCi.RemoteTypes.html#RemotePtr"><span class="hs-identifier hs-type">RemotePtr</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-70"></span><span>      </span><span class="hs-comment">-- ^ reference to a static ptr</span><span>
</span><span id="line-71"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="ResolvedBCOPtrBCO"><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCOPtrBCO"><span class="hs-identifier hs-var">ResolvedBCOPtrBCO</span></a></span></span><span> </span><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCO"><span class="hs-identifier hs-type">ResolvedBCO</span></a></span><span>
</span><span id="line-72"></span><span>      </span><span class="hs-comment">-- ^ a nested BCO</span><span>
</span><span id="line-73"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="ResolvedBCOPtrBreakArray"><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCOPtrBreakArray"><span class="hs-identifier hs-var">ResolvedBCOPtrBreakArray</span></a></span></span><span> </span><span class="hs-pragma">{-# UNPACK</span><span> </span><span class="hs-pragma">#-}</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="annot"><a href="GHCi.RemoteTypes.html#RemoteRef"><span class="hs-identifier hs-type">RemoteRef</span></a></span><span> </span><span class="annot"><a href="GHCi.BreakArray.html#BreakArray"><span class="hs-identifier hs-type">BreakArray</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-74"></span><span>      </span><span class="hs-comment">-- ^ Resolves to the MutableArray# inside the BreakArray</span><span>
</span><span id="line-75"></span><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">(forall x. ResolvedBCOPtr -&gt; Rep ResolvedBCOPtr x)
-&gt; (forall x. Rep ResolvedBCOPtr x -&gt; ResolvedBCOPtr)
-&gt; Generic ResolvedBCOPtr
forall x. Rep ResolvedBCOPtr x -&gt; ResolvedBCOPtr
forall x. ResolvedBCOPtr -&gt; Rep ResolvedBCOPtr x
forall a.
(forall x. a -&gt; Rep a x) -&gt; (forall x. Rep a x -&gt; a) -&gt; Generic a
$cto :: forall x. Rep ResolvedBCOPtr x -&gt; ResolvedBCOPtr
$cfrom :: forall x. ResolvedBCOPtr -&gt; Rep ResolvedBCOPtr x
</span><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier hs-var hs-var hs-var hs-var">Generic</span></a></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679096250"><span id="local-6989586621679096252"><span id="local-6989586621679096266"><span class="annot"><span class="annottext">Int -&gt; ResolvedBCOPtr -&gt; ShowS
[ResolvedBCOPtr] -&gt; ShowS
ResolvedBCOPtr -&gt; String
(Int -&gt; ResolvedBCOPtr -&gt; ShowS)
-&gt; (ResolvedBCOPtr -&gt; String)
-&gt; ([ResolvedBCOPtr] -&gt; ShowS)
-&gt; Show ResolvedBCOPtr
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [ResolvedBCOPtr] -&gt; ShowS
$cshowList :: [ResolvedBCOPtr] -&gt; ShowS
show :: ResolvedBCOPtr -&gt; String
$cshow :: ResolvedBCOPtr -&gt; String
showsPrec :: Int -&gt; ResolvedBCOPtr -&gt; ShowS
$cshowsPrec :: Int -&gt; ResolvedBCOPtr -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">)</span><span>
</span><span id="line-76"></span><span>
</span><span id="line-77"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679096244"><span id="local-6989586621679096246"><span id="local-6989586621679096248"><span class="annot"><a href="../../binary/src/Data.Binary.Class.html#Binary"><span class="hs-identifier hs-type">Binary</span></a></span><span> </span><span class="annot"><a href="GHCi.ResolvedBCO.html#ResolvedBCOPtr"><span class="hs-identifier hs-type">ResolvedBCOPtr</span></a></span></span></span></span><span>
</span><span id="line-78"></span></pre></body></html>